-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Use Woocommerce Reset Password email for ResetPassword Mutation #878
feat: Use Woocommerce Reset Password email for ResetPassword Mutation #878
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexookah Ping me when you've made the changes we worked out over Discord
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexookah Approved. Just add the // TODO:
, I mentioned in our Discord, if possible. Then we can get it merged.
This PR enhances the WooCommerce GraphQL functionality by adding a custom filter for handling password reset emails within the WooCommerce_Filters class. The new filter, retrieve_password_message, ensures that password reset emails are generated using the WooCommerce reset password email template.
Purpose
The addition of the retrieve_password_message filter provides the following benefits:
This should PR resolves this issue
How to Disable
To revert to the default WordPress password reset email functionality, simply deactivate the "Customer Reset Password" email within the WooCommerce email settings. This will ensure that the standard WordPress password reset page is used instead of the WooCommerce front-end reset password page.
Where has this been tested?